﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class TestNE2UV : MonoBehaviour {

    public Vector2 loc1=new Vector2(35.69839f, 114.7943f);
    public Vector2 loc2 = new Vector2(35.69839f, 114.7943f);

    void Start () {
        
	}

    private void Update()
    {
        var v1 = GPSTool.GetCoordinate(loc1.x, loc1.y);
        var v2 = GPSTool.GetCoordinate(loc2.x, loc2.y);

        //v3 = Quaternion.FromToRotation(v1.normalized, new Vector3(0, 1, 0)) * v3;
        ////return v3;
        //Vector3 dir = GPSTool.GetUnityVector3(loc1.x, loc1.y, loc2.x, loc2.y);
        //Debug.Log(dir);
    }

}
